package com.xinke.module.system.model.vo.dict;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 字典类型新增/修改 Request VO")
@Data
public class DictTypeSaveReqVO {

    @Schema(description = "字典主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "5537")
    private Long typeId;

    @Schema(description = "字典名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "字典名称不能为空")
    private String typeName;

    @Schema(description = "字典类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "字典类型不能为空")
    private String dictItem;

    @Schema(description = "状态（1正常 0停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态（1正常 0停用）不能为空")
    private Integer typeStatus;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "删除时间")
    private LocalDateTime deletedTime;

}